<template>
	<el-carousel trigger="click" :height="height+'px'" style="background-color:red">
		<el-carousel-item v-for="item in 4" :key="item" >
			<h3 class="small">{{ item }}</h3>
		</el-carousel-item>
	</el-carousel>
</template>

<script setup>
defineProps({
	height:{
		type:Number,
		default:0
	}
})
</script>

<style scoped>

</style>